package com.hs.carrental.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hs.carrental.dto.admin.AdminPageDto;
import com.hs.carrental.dto.admin.AdminSaveDto;
import com.hs.carrental.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hs.carrental.vo.admin.AdminPageVo;

import java.io.UnsupportedEncodingException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lyy
 * @since 2021-03-17
 */
public interface IAdminService extends IService<Admin> {

    boolean save(AdminSaveDto adminSaveDto) throws UnsupportedEncodingException;

    IPage<AdminPageVo> getPage(AdminPageDto adminPageDto);
}
